ContextMenuItem

interface ContextMenuItem

A custom context menu item.

Functions

Link copied to clipboard
open fun isChecked(): Boolean
Returns true if the context menu item is checked.
Link copied to clipboard
open fun isEnabled(): Boolean
Returns true if the context menu item is enabled.
Link copied to clipboard
Returns an immutable list of the sub-items of the context menu item.
Link copied to clipboard
open fun text(): String
Returns a string that represents the text of the context menu item.
Link copied to clipboard
open fun type(): ContextMenuItemType
Returns the type of the context menu item.